package cn.edu.lzzy.services;

import cn.edu.lzzy.entities.Allocation;
import cn.edu.lzzy.entities.Applicant;
import cn.edu.lzzy.entities.Course;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.UUID;
@Service
public interface ApplicantService {
    //获取申请数据
    Applicant apply(UUID studentId,UUID courseId,String token);
     //获取课程审批数据
    List<Applicant> getAllCourses(UUID studentId,String token);
    //获取课程申请数据
    List<Applicant> getApplyingCourses(UUID studentId,String token);
    //获取课程审批通过数据
    List<Applicant> getApprovedCourses(UUID studentId,String token);
    //获取课程审批拒绝数据
    List<Applicant> getDeclinedCourses(UUID studentId,String token);
    //审批通过
    Applicant approve(UUID applicantId,String token);
    //审批拒绝
    Applicant decline(UUID applicantId,String token);
    //移除学生
    Course removeStudent(UUID applicantId, UUID studentId,String token);
    //申请课程的学生列表
    List<Applicant> getApplyingStudents(UUID courseId,String token);
    //通过审批的学生数据
    List<Applicant> getApprovedStudents(UUID courseId,String token);
   //（审批）拒绝的学生数据
    List<Applicant> getDeclineStudents(UUID courseId,String token);



}
